#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import pytesseract
from PIL import Image
import os

# open image
image = Image.open( os.path.dirname(__file__) + '/1.jpeg')
code = pytesseract.image_to_string(image)
print(code)